
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide">
	<tr>
		<td>
			<span style="float: left;">后台管理中心&nbsp;&raquo;&nbsp;权限对象管理</span>
			<span style="float: right;">
				<a href="./?controller=aclResource&action=add">+ 添加权限对象</a>
				<a href="javascript:history.go(-1);">&lt;- 返回</a>
			</span>
		</td>
	</tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
	<tr class="header">
		<td colspan="11">权限对象列表</td>
	</tr>
	<tr class="category" align="center">
		<td width="10%">ID</td>
		<td width="20%">名称</td>
		<td width="50%">描述</td>
		<td width="20%">操作</td>
	</tr>
<?php
$i = 0;

foreach ($this->data as $row)
{
	$id			= $row['id'];
	$name		= $row['name'];
	$description= $row['description'];
	
	echo <<<EOF
	<tr>
		<td class="altbg1" align="center">$id</td>
		<td class="altbg2">$name</td>
		<td class="altbg1">$description</td>
		<td class="altbg2" align="center">
			<a href="./?controller=aclResource&action=modify&id=$id">修改</a>
			<a href="javascript:confirmDelete('./?controller=aclResource&action=delete&id=$id')">删除</a>
		</td>
	</tr>
EOF;
}
?>
</table>
